<?php  
class Admin_Form_Html extends Admin_Form_Abstract
{
    //static const TYPE = '2';
     public function __construct(array $options = null)
    {   
        parent::__construct();
    }
    public function init()
    {
        $this->setAttrib('class', 'form_html');
        
        $this->addElement("hidden", 'hdf_type', array(
            'value'=>'2',
            'decorators' => array('ViewHelper')
        ));
        $this->addElement("hidden", 'hdf_check_show', array(
            'value'=>'1',
           // 'decorators' => array('ViewHelper')
        ));
        
        $this->addElement("textarea", 'html', array(
            'label' => "LBL_HTML" ,
            'required' => true,
        ));
       // $this->html->addValidator("StringLength",false,array(0,20,'messages'=>array(Zend_Validate_StringLength::TOO_LONG => 'Your password is')));
        $this->addElement('submit', 'submit', array(
             'class' => 'button_control greenbutton',
             'value' => 'BUTTON_SAVE',
             'label'=> 'BUTTON_SAVE',
            'decorators' => $this->_button_decorators
         ));
         
    }	
}

